#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

#include"SeqList.h"


void TestSeqList1()
{
	SL s;
	SLInit(&s);

	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	SLPushBack(&s, 5);
	SLPushBack(&s, 6);
	SLPushBack(&s, 7);
	SLPushBack(&s, 8);
	SLPushBack(&s, 9);

	SLPushFront(&s, 9);

	SLPrint(&s);

	SLDestroy(&s);

}

void TestSeqList2()
{
	SL s;
	SLInit(&s);

	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	SLPushBack(&s, 5);
	SLPushBack(&s, 6);
	SLPushBack(&s, 7);


	SLPushFront(&s, 9);

	SLPrint(&s);

	SLDestroy(&s);
}

int main()
{
	//TestSeqList1();
	TestSeqList2();

	return 0;
}


